var express = require('express');
var router = express.Router();
//var user = require("../controller/users");

/* POST 用这个uri来传递参数 */
router.post('/login', function(){
	console.log("登陆请求")
});

/* GET 退出登录 */
router.get('/index' , function(){
	res.render('index');
	console.log("初始界面")
});

/* POST 用户注册 (跳转到注册页面) */
router.get('/signup/normal' , function(){console.log("普通注册请求")});

router.get('/signup/special' , function(){console.log("内部注册请求")});

router.get('/Issignup' , function(){console.log("完成注册")});

router.post('/account' , function(){console.log("完成登录")});

router.post('/account/forget/mail' , function(){console.log("邮箱修改密码界面")});

router.get('/account/forget/change'  , function(){console.log("密码修改完成界面")});

router.get('/manage/account' , function(){console.log("用户管理界面")});

router.get('/manage/delete' , function(){console.log("删除账号")});

module.exports = router;
